package com.lening.security.po;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author 赵子豪
 * @date 2024年06月03日 16时34分34秒
 */
@Getter
@Setter
@TableName("path")
public class PathPO implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;//巡更路线id
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime pathScheduletime;//计划开始日期
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime pathPlantime;//计划结束日期
    private String  pathPicture;//拍照要求
    private String pathName;//巡更路线名称
    private Integer status;//状态，1启用0停用
    private String pathRemark;//备注(巡检结果)

    private Integer pathSid;//所属社区

    private Integer pathPointsid;//巡更点名称id
    private String  pathPointsname;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date pathTime;
//    private String coordinatesName;
//    private String  yi;
//    private String  er;
//    private String  san;
}